package com.ccrfid.rmc6.pojo.amq;

import com.ccrfid.rmc6.entity.personnel.PersonnelEntity;

public class AmqPersonnel {
    private Long personnelId;
    private String personnelName;
    private Integer personnelType;
    private Long cardNumber;
    private Long orgId;
    private Integer enabled;

    public AmqPersonnel() {
    }

    public AmqPersonnel(PersonnelEntity entity) {
        this.personnelId = entity.getId();
        this.personnelName = entity.getPersonnelName();
        this.personnelType = entity.getPersonnelType();
        this.cardNumber = entity.getCardNumber();
        this.orgId = entity.getOrgId();
        this.enabled = entity.getEnabled();
    }

    public Long getPersonnelId() {
        return personnelId;
    }

    public void setPersonnelId(Long personnelId) {
        this.personnelId = personnelId;
    }

    public String getPersonnelName() {
        return personnelName;
    }

    public void setPersonnelName(String personnelName) {
        this.personnelName = personnelName;
    }

    public Integer getPersonnelType() {
        return personnelType;
    }

    public void setPersonnelType(Integer personnelType) {
        this.personnelType = personnelType;
    }

    public Long getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(Long cardNumber) {
        this.cardNumber = cardNumber;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }
}
